home *** CD-ROM | disk | FTP | other *** search
- #
- # Copyright 2005 - 2006 Yahoo! Inc. All rights reserved.
- #
-
- #include "nsISupports.idl"
- interface nsIYahooFeedNode;
- interface nsIYahooHashtable;
- interface nsILocalFile;
- interface nsIYahooDomBuilder;
- [scriptable, uuid(6144D929-0508-430d-80A9-D2646D9187B5)]
- interface nsIYahooFeedProcessor : nsISupports
- {
- readonly attribute PRUint8 NOT_LOADED;
- readonly attribute PRUint8 CACHE_LOADED;
- readonly attribute PRUint8 LIVE_LOADED;
-
- attribute string country;
- attribute string lang;
- attribute string clientVer;
- attribute string clientID;
- attribute string corp;
- attribute string partner;
-
- readonly attribute PRUint8 loadedType;
- readonly attribute PRUint16 loads;
- readonly attribute boolean loaded;
- readonly attribute boolean isGuest;
-
- attribute nsIYahooDomBuilder domBuilder;
- attribute nsIYahooFeedNode alerts;
-
- attribute string FEED_URL;
- attribute string raw;
- attribute PRUint32 nodeSize;
- attribute nsILocalFile cacheFile;
- attribute nsIYahooHashtable params;
- attribute nsIYahooHashtable values;
-
- nsIYahooFeedNode getNode( in PRUint32 index );
- nsIYahooFeedNode getNodeById( in string id );
- void init();
- void loadFeed(in boolean async);
- void loadCachedFeed();
- void clear();
- void run();
- void retrieveAlerts();
- void processBM2();
- };